<?xml version="1.0" encoding="UTF-8"?>
<Context>

<!-- Specify a JDBC datasource -->

<Resource name="jdbc/mydatabase"

auth="Container"

type="javax.sql.DataSource"

username="root"

password="abba1122"

driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/hbs?autoReconnect=true"

validationQuery="select 1"

maxActive="2"

maxIdle="1"/>

</Context>